MAYBE We are left with following problem, upon which TcT provides the certificate MAYBE. Strict Trs: { #less(@x, @y) -> #cklt(#compare(@x, @y)) , append(@l1, @l2) -> append#1(@l1, @l2) , append#1(::(@x, @xs), @l2) -> ::(@x, append(@xs, @l2)) , append#1(nil(), @l2) -> @l2 , flatten(@t) -> flatten#1(@t) , flatten#1(leaf()) -> nil() , flatten#1(node(@l, @t1, @t2)) -> append(@l, append(flatten(@t1), flatten(@t2))) , flattensort(@t) -> insertionsort(flatten(@t)) , insertionsort(@l) -> insertionsort#1(@l) , insert(@x, @l) -> insert#1(@l, @x) , insert#1(::(@y, @ys), @x) -> insert#2(#less(@y, @x), @x, @y, @ys) , insert#1(nil(), @x) -> ::(@x, nil()) , insert#2(#false(), @x, @y, @ys) -> ::(@x, ::(@y, @ys)) , insert#2(#true(), @x, @y, @ys) -> ::(@y, insert(@x, @ys)) , insertionsort#1(::(@x, @xs)) -> insert(@x, insertionsort(@xs)) , insertionsort#1(nil()) -> nil() } Weak Trs: { #compare(#0(), #0()) -> #EQ() , #compare(#0(), #neg(@y)) -> #GT() , #compare(#0(), #pos(@y)) -> #LT() , #compare(#0(), #s(@y)) -> #LT() , #compare(#neg(@x), #0()) -> #LT() , #compare(#neg(@x), #neg(@y)) -> #compare(@y, @x) , #compare(#neg(@x), #pos(@y)) -> #LT() , #compare(#pos(@x), #0()) -> #GT() , #compare(#pos(@x), #neg(@y)) -> #GT() , #compare(#pos(@x), #pos(@y)) -> #compare(@x, @y) , #compare(#s(@x), #0()) -> #GT() , #compare(#s(@x), #s(@y)) -> #compare(@x, @y) , #cklt(#EQ()) -> #false() , #cklt(#GT()) -> #false() , #cklt(#LT()) -> #true() } Obligation: innermost runtime complexity Answer: MAYBE None of the processors succeeded. Details of failed attempt(s): ----------------------------- 1) 'Fastest' failed due to the following reason: None of the processors succeeded. Details of failed attempt(s): ----------------------------- 1) 'matrix interpretation of dimension 4' failed due to the following reason: The input cannot be shown compatible 2) 'matrix interpretation of dimension 3' failed due to the following reason: The input cannot be shown compatible 3) 'matrix interpretation of dimension 3' failed due to the following reason: The input cannot be shown compatible 4) 'matrix interpretation of dimension 2' failed due to the following reason: The input cannot be shown compatible 5) 'matrix interpretation of dimension 2' failed due to the following reason: The input cannot be shown compatible 6) 'matrix interpretation of dimension 1' failed due to the following reason: The input cannot be shown compatible 2) 'Fastest' failed due to the following reason: None of the processors succeeded. Details of failed attempt(s): ----------------------------- 1) 'custom shape polynomial interpretation' failed due to the following reason: The input cannot be shown compatible 2) 'custom shape polynomial interpretation' failed due to the following reason: The input cannot be shown compatible 3) 'linear polynomial interpretation' failed due to the following reason: The input cannot be shown compatible Arrrr..